import request from "../utils/request";


export const getAllImg = () => {
    return request.get("/home/getAllImg")
}

export const deleteImg = (id) => {
    const params = new URLSearchParams()
    params.append('id', parseInt(id))
    return request.put("/home/deleteImg",params)
}
